#pragma once
#include "graphic.h"
#include "GraphicFactory.h"
#include "Label.h"


class DecorativeLight :
	public Graphic
{
public:
	DecorativeLight(void);
	virtual ~DecorativeLight(void);
	DEF_CREATE_CALLBACK(DecorativeLight)
protected:
	DECLARE_MESSAGE_MAP()
	afx_msg void OnPaint();
public:
	virtual void initPos(CPoint& pt1, CPoint& pt2);
	virtual void Serialize(CArchive& ar);
public:
	int      _R;
	COLORREF _color;
	Label    _name;
};

